# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=intercepter-ng
_pkgname=Intercepter-NG
pkgver=1.0
pkgrel=4
groups=('blackarch' 'blackarch-windows' 'blackarch-wireless'
        'blackarch-sniffer' 'blackarch-networking' 'blackarch-cracker')
pkgdesc='A next generation sniffer including a lot of features: capturing passwords/hashes, sniffing chat messages, performing man-in-the-middle attacks, etc.'
arch=('any')
url='http://sniff.su/download.html'
license=('custom:unknown')
source=("http://sniff.su/Intercepter-NG.v$pkgver.zip")
sha512sums=('c464a2a89dce10d4783d6c5e3fb97146880205bb26429557a67e63596f697b4d43230ed0570048d1aea9cb93cfdc52b5242c7dad7df61dbdaf3a0e0f3307189e')

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  rm "${_pkgname}.v$pkgver.zip"

  cp -a * "$pkgdir/usr/share/windows/$pkgname"
}

